package ooday04;

import java.util.Scanner;

public class Moo {
    public static void main(String[] args) {
        /*推导Scanner的nextInt()和nextDouble()方法
        package java.util;
        class Scanner{//类
            //构造方法
            public Scanner(InputStream in){};
            //nextInt()方法
            public int nextInt(){}
            //nextDouble()方法
            public double nextDouble(){}
        }
         */
        /*//根据Scanner的方法推到使用Scanner的nextInt()和nextDouble()方法
        import java.util.Scanner;
        class Moo{
        //创建Scanner对象,名叫scan(引用)
            Scanner scan=new Scanner(System.in);
            int a=scan.nextInt();
            double b=scan.nextDouble();
        }
        */

        Scanner scan=new Scanner(System.in);
        int a=scan.nextInt();
        double b=scan.nextDouble();
    }
}
